CygNet Studio > Using CygNet Studio Tools and Controls > Sliding Scale Tool > ActiveX Properties

Sliding Scale Tool - ActiveX Properties

The Sliding Scale Tool is an ActiveX control. As such, a Sliding Scale Tool object has an ActiveX page on the Property Sheet. Many of these properties are the object’s formatting properties. Values for the ActiveX Properties can be set directly on the ActiveX page or in the OCX Properties dialog box, which is accessed by clicking the (OCXProperties) property.

Property Description Related Properties

AutoFrameRate

Specifies whether the object controls its update rate. Default is 0 - No. When set to 1 - Yes, the object is repainted at the rate specified by the UpdateFrameRate property.

UpdateFrameRate

BackGroundColor

Specifies the color of the object background. Default is gray (RGB 236.233.216). The background color is not shown if the Transparent property is set to 1 - Yes.

Transparent

[AlarmElement]

BorderStyle

Specifies the border style of the object. Default is 0 - ibsNone. Other options are 1 - ibsRaised and 2 - ibsLowered.

 

CachedDrawing

Enables optimizing the display of the object. Default is 1 - Yes.

 

Enabled

Enables user interaction with the object. If set to 0 - No, the object is still shown but its context menu is disabled. Default is 1 - Yes.

 

Height

Specifies the height (in pixels) of the object.

 

OptionSaveAllProperties

Enables the SaveAllPropertiesToFile method to save just the ActiveX Properties or all object properties. Default is 0 - No, which means that only ActiveX Properties are saved.

 

Orientation

Specifies the orientation of the object. Default is 1 - ioHorizontal.

 

OuterMarginBottom

Specifies the margin (in pixels) between the scale image and the bottom boundary of the object. Default is 0.

 

OuterMarginLeft

Specifies the margin (in pixels) between the scale image and the left boundary of the object. Default is 0.

 

OuterMarginRight

Specifies the margin (in pixels) between the scale image and the right boundary of the object. Default is 0.

 

OuterMarginTop

Specifies the margin (in pixels) between the scale image and the top boundary of the object. Default is 0.

 

PointerColor

Specifies the color of the pointer. Default is yellow (RGB 255.255.0).

[AlarmElement]

PointerLineColor

Specifies the color of the pointer line. Default is blue (RGB 0.0.255).

[AlarmElement]

PointerLineWidth

Specifies the width (in pixels) of the pointer line. Default is 2.

 

PointerOrientation

Specifies the location of the pointer in relation to the scale. If the object orientation is vertical, the option is the left or right side. If it is horizontal, the option is top or bottom. Default is 1 - iosTopLeft.

 

PointerSize

Specifies the size (in pixels) of the pointer. Default is 10.

 

PointerStyle

Specifies the style of the pointer. Default is 0 - isspsDualArrow. Other options are 1-isspsArrow, 2 - isspsPointer, and 3 - isspsLine.

 

Position

Specifies the position of the pointer on the scale. Default is 0. If the object is associated with a point, the point’s value sets the position.

 

ReverseScale

Enables reversing the scale. Normal scaling runs negative to positive left to right or bottom to top. Default is 0 - No.

 

ScaleAlignStyle

Specifies the position of the tick marks within the scale. Default is 1 - itasSide.

 

ScaleAntiAliasEnabled

Enables absolute pixel position of the scale ticks and outer margins to automatically eliminate visual artifacts during scale scrolling. Default is 1 - Yes.

 

ScaleBackGroundColor

Specifies the background color of the scale. Default is white (RGB 255.255.255).

ScaleShadowColor

ScaleShadowEnabled

[AlarmElement]

ScaleOrientation

Specifies from which side the scale is drawn. Default is 1 - iosTopLeft

 

ScaleShadowColor

Specifies the foreground color of the scale. If ScaleShadowEnabled is set to 1 - Yes, this color is a gradient. Default is black (RGB 0.0.0).

ScaleBackgroundColor

ScaleShadowEnabled

ScaleShadowEnabled

Enables the ScaleShadowColor to be a gradient. Default is 1 - Yes. If set to 0 - No, only the scale background color is shown.

ScaleBackgroundColor

ScaleShadowColor

ScaleSpan

Specifies the scale span. Default is 100

 

ShowMidTickLabels

Enables display of mid-level tick mark labels. Default is 0 - No.

 

ShowMidTicks

Enables display of mid-level tick marks. Default is 0 - No.

 

TickMajorColor

Specifies the color of the major tick marks. Default is black (RGB 0.0.0).

 

TickMajorCount

Specifies the number of major tick marks displayed on the scale span. Default is 5.

 

TickMajorLabelFont

Specifies the font for the major tick labels. Default is MS Sans Serif (8 point).

TickMajorLabelFontColor

TickMajorLabelFontColor

Specifies the color of the major tick mark labels. Default is black (RGB 0.0.0).

TickMajorLabelFont

TickMajorLabelMargin

Specifies the margin between the major tick labels and major tick marks. Default is 0.25.

 

TickMajorLabelPrecision

Specifies the precision of the major tick labels. Default is 0.

 

TickMajorLength

Specifies the length (in pixels) of the major tick marks. Default is 9.

 

TickMajorWidth

Specifies the width (in pixels) of the major tick marks. Default is 2.

 

TickMidColor

Specifies the color of the mid-level tick marks. Default is black (RGB 0.0.0).

 

TickMidLabelFont

Specifies the font for the mid-level tick labels. Default is MS Sans Serif (8 point).

TickMidLabelFontColor

TickMidLabelFontColor

Specifies the color of the mid-level tick mark labels. Default is black (RGB 0.0.0).

TickMidLabelFont

TickMidLabelMargin

Specifies the margin between the mid-level tick labels and major tick marks. Default is 0.25.

 

TickMidLabelPrecision

Specifies the precision of the mid-level tick labels. Default is 1.

 

TickMidLength

Specifies the length (in pixels) of the mid-level tick marks. Default is 7.

 

TickMidWidth

Specifies the width (in pixels) of the mid-level tick marks. Default is 5.

 

TickMinorColor

Specifies the color of the minor tick marks. Default is black (RGB 0.0.0).

 

TickMinorCount

Specifies the number of minor tick marks displayed between the major tick marks. Default is 4.

 

TickMinorLength

Specifies the length (in pixels) of the minor tick marks. Default is 5.

 

TickMinorWidth

Specifies the width (in pixels) of the minor tick marks. Default is 1.

 

TitleAlignment

Specifies the alignment of the Title text in relation to the boundary. Default is 0 - iasvTop.

TitleText

TitleFont

Specifies the font of the Title text. Default is MS Sans Serif (8 point).

TitleAlignment

TitleFontColor

TitleMargin

TitleText

TitleFontColor

Specifies the color of the Title text. Default is black (RGB 0.0.0).

TitleAlignment

TitleFont

TitleMargin

TitleText

[AlarmElement]

TitleMargin

Specifies the margin between the Title and the object boundary. Default is 0.5.

TitleAlignment

TitleFont

TitleFontColor

TitleText

TitleText

Specifies the text of the Title. Default is blank. The property [DisplayItem] must be set to Text for the Title to show.

[DisplayItem]

TitleAlignment

TitleFont

TitleFontColor

TitleMargin

Transparent

Enables transparency of the object background. Default is 0 - No.

 

UpdateFrameRate

Specifies the rate (in seconds) of repainting the object. Default is 60. Applicable only when AutoFrameRate is set to 1 - Yes.

AutoFrameRate

Visible

Enables the visibility of the object on TheView. Default is 1 - Yes.

 

Width

Specifies the width (in pixels) of the object.

 
Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.